package com.zsx.shopping.auth.converter;

import com.zsx.shopping.auth.form.LoginForm;
import com.zsx.shopping.auth.form.RegisterForm;
import com.zsx.shopping.common.api.user.dto.LoginDto;
import com.zsx.shopping.common.api.user.dto.RegisterDto;
import org.mapstruct.Mapper;

@Mapper(componentModel = "spring")
public interface AuthConverter {

    LoginDto toLoginDto(LoginForm loginForm);

    RegisterDto toRegisterDto(RegisterForm registerForm);
}
